<?php
class Zend_View_Helper_ActivityList {
	protected $_view;
	function setView($view) { 
		$this->_view = $view; 
	} 
	
	/*
	 * @param $activities is a activityDTO list
	 * */
	function activityList($activities, $withTips=false) {
		
		$this->_view->activities= $activities;
		$this->_view->withTips= $withTips;
      	$out = $this->_view->render('/user/ActivityList.phtml');
       	return $out;
	}
}
?>